import scrapy


class SpiderscrapyItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass

class CnBlogItem(scrapy.Item):
    # 定义管道中的字段
    title = scrapy.Field()
    detail_url = scrapy.Field()
    desc = scrapy.Field()
    author_name = scrapy.Field()
    author_blog = scrapy.Field()
    comment_num = scrapy.Field()
    up_num = scrapy.Field()
    visit_num = scrapy.Field()
    content = scrapy.Field()

class NewsItem(scrapy.Item):
    # 定义管道中的字段
    title = scrapy.Field()
    detail_url = scrapy.Field()
    content = scrapy.Field()
